package marchsoft.modules.tiku.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import marchsoft.base.PageVO;
import marchsoft.modules.tiku.entity.ESafeCase;
import marchsoft.base.IBasicService;
import marchsoft.modules.tiku.entity.dto.ESafeCaseNameDto;
import marchsoft.modules.tiku.entity.dto.ESafeCaseSearchDto;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


/**
 * <p>
 * 安全案例 服务类
 * </p>
 *
 * @author zsy
 * @since 2022-03-29
 */
public interface IESafeCaseService extends IBasicService<ESafeCase> {


    IPage<ESafeCaseNameDto> queryAllCase(PageVO pageVO, ESafeCaseSearchDto searchDto);

    ESafeCase queryPidCase(Long id);

    void deleteById(Long id);

    void updateESafeCase(ESafeCase eSafeCase);

    void addESafeCase(ESafeCase eSafeCase);


    void download(IPage<ESafeCaseNameDto> queryAllCase, HttpServletResponse response) throws IOException;
}

